import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import { ZeroComponent } from './zero/zero.component';
import { PinkComponent } from './pink/pink.component';

// cli生成服务
// ng g service 服务名称
@NgModule({
  declarations: [AppComponent, ZeroComponent, PinkComponent],
  imports: [BrowserModule, FormsModule, HttpClientModule],
  providers: [],
  bootstrap: [AppComponent],
})
export class AppModule {}
